package fz.vrd.ui.view.flowtag;

/**
 * Created by Administrator on 2018/5/9.
 */

public class FlowTagBean {

    String name, id;

    Object data;

    String imgPath;

    boolean isUpdate;

    boolean isCheck;

    public FlowTagBean() {

    }

    public FlowTagBean(String name) {

        this.name = name.trim();
    }

    public FlowTagBean(String name, String id) {
        this.name = name;
        this.id = id;
    }

    public static FlowTagBean create(String id, String name, String imgPath){
        FlowTagBean bean = new FlowTagBean();
        bean.setImgPath(imgPath);
        bean.setName(name);
        bean.setId(id);
        return bean;
    }


    public FlowTagBean(String name, String id, Object data) {
        this.name = name;
        this.id = id;
        this.data = data;
    }


    public String getImgPath() {
        return imgPath;
    }

    public void setImgPath(String imgPath) {
        this.imgPath = imgPath;
    }

    public boolean isUpdate() {
        return isUpdate;
    }

    public void setUpdate(boolean update) {
        isUpdate = update;
    }

    public boolean isCheck() {
        return isCheck;
    }

    public void setCheck(boolean check) {
        isCheck = check;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
